<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link type="text/css" rel="stylesheet" href="css/login.css" />
<script type="text/javascript" src="js/jquery-1.8.3.js"></script>
<script type="text/javascript" src="js/login.js"></script>
   <!--点击后跳转，可以规定跳转时带什么数据，如账号-->
   <script type="text/javascript">
      //注册功能
  $(document).ready(function () {
     $("#register").click(function () {
     var password=$("[name='password']").val();
     var phone=$("[name='phone']").val();
     $.get("user/register",{"password":password,"phone":phone},function (mess) {
        if (mess){
           window.location.href="login.html"
        }
        else {
           alert("注册失败")
        }
     });

  });


  });


   </script>
<title>注册</title>
</head>

<body>
<div class="header">
   <div class="mainwarp">
      <div class="logo"><a href="../../../../target/classes/public/index.html"><img src="images/log.png" /></a></div>
      <div class="welcome">欢迎注册</div>
      <div class="headerright">
         <a href="login.html">个人登录</a>
         <span>|</span>
         <a href="../../../../target/classes/public/index.html">返回首页</a>
      </div>
   </div>
</div>
<div class="zhuceBox">
   <div class="zcLeft">
      <ul id="tabzc">
          <li>邮箱/手机号注册</li>
          <li></li>
          <div class="clear"></div>
      </ul>
      <div class="clear"></div>
      <div id="contentzc">
          <ul style="display:block;">
             <div class="zcpart0">
                <div class="zcpart5">
                   <span id="account"></span>
                   <input name="phone" type="text" placeholder="手机号"/>
                </div>
                <div class="zcpart6">手机号用于登录和找回密码</div>
                <div class="zcpart7">
                   <span id="password"> </span>
                   <input name="password" type="text" placeholder="设置密码"/>
                </div>
                <div class="zcpart6">请输入6-20个字符</div>
                <div class="zcpart2_c">
                    <span class="CheckBox Yes"> </span>
                    <span style="float:left">我已阅读并接受<a href="user_agreement.html">用户协议</a></span>
                </div>
                <div class="clear"></div>
                <div class="zcpart8">
                    <a id="register">注 册</a>
                </div>
                <div class="zcpart8 zcpart9">
                    <a href="resume.html">一分钟填写简历 快速填写 省时省力</a>
                </div>
             </div>
          </ul>
      </div>
   </div>
   <div class="zcRight">
      <div class="topdiv">
         <span class="noPa">已有账号了？</span><br />
         <a href="login.html">立即登录</a>
      </div>
   </div>
</div>
<div class="clear"></div>
</body>
</html>
